<%--
 * Título: gestHora. Aplicación web de gestión de horarios para conservatorios.
 * Alumnos:
 * - Javier Pardo Muñoz. I.T. Informática de Gestión
 * - Antonio Prior Cazorla. I.T. Informática de Gestión
 * Director: Dr. José Raúl Romero Salguero.
 *     
 *  Copyright (C) 2013 Javier Pardo Muñoz / Antonio Prior Cazorla
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.

 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 --%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<jsp:useBean id="MsgBean" class="es.uco.gesthora.interfaz.MsgBean" scope="session"/>

<html>

    <head>
        <link rel="stylesheet" type="text/css" href="/gestHora/css/general.css">
        <script type="text/javascript" src="/gestHora/js/jQuery.js"></script> 
        <link rel="icon" type="image/png" href="/gestHora/img/favicon.png" />
        <title>gestHora: Ocurrió un error</title>
    </head>

    <body>


        <div class="contenedor">

            <jsp:include page="/jsp/views/header.jsp"/>

            <div class="contenido">
                <div class="contenido-dentro">
                    <div class="contenido-principal contenido-principal-index" role="main">

                        <section class="contenido-articulo contenido-articulo-index">
                            <a class="volver" href="/gestHora/index.jsp"> &#8592; Volver a inicio</a><br/>
                            <h2>Error</h2>

                            <p><%=MsgBean.getMsg()%></p>

                            <%-- Limpiamos el bean una vez mostrado el error --%>
                            <% MsgBean.setMsg("");%>


                        </section>
                    </div>
                </div>

                <jsp:include page="/jsp/views/footer.jsp"/>

            </div>
        </div>

    </body>
</html>
